/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package jps.qres;

/**
 *
 * @author calyJa
 */
public class BinderResult extends AbstractQueryResult {

    public BinderResult(String name, AbstractQueryResult value) {
        this.name = name;
        this.value = value;
    }

    @Override
    public String toString() {
        return "binder(name=" + name + ", value=" + value + ")";
    }

    public String getName() {
        return name;
    }

    public AbstractQueryResult getValue() {
        return value;
    }
    private String name;
    private AbstractQueryResult value;
}